﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IView.cs" company="Microsoft">
//   Microsoft
// </copyright>
// <summary>
//   Defines the IView type.
// </summary>
// Copyright (c) Microsoft Corporation. All rights reserved.
// 
// THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, 
// EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES 
// OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
// ----------------------------------------------------------------------------------
// The example companies, organizations, products, domain names,
// e-mail addresses, logos, people, places, and events depicted
// herein are fictitious.  No association with any real company,
// organization, product, domain name, email address, logo, person,
// places, or events is intended or should be inferred.
// --------------------------------------------------------------------------------------------------------------------

namespace MySemanticSearch.View
{
    using System.Collections.ObjectModel;

    using MySemanticSearch.TagCloud;
    using MySemanticSearch.Web.Model;

    /// <summary>
    /// Interface that abstracts all required methods for the viemodel
    /// </summary>
    public interface IView
    {
        /// <summary>
        /// Redraws the tag cloud using an observable collection of tags
        /// </summary>
        /// <param name="tags">
        /// The tags param.
        /// </param>
        void RedrawTagCloud(ObservableCollection<KeyPhrase> tags);

        /// <summary>
        /// Method that changes the selected item in the main documents list
        /// </summary>
        /// <param name="selectedItem">
        /// The selected item.
        /// </param>
        void UpdateDocumentListFocus(Document selectedItem);
    }
}
